<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">
{#    <link rel="icon" href="../../../../favicon.ico">#}

    <title>cms管理系统登录</title>

    <!-- Bootstrap core CSS -->
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">

    <!-- Custom styles for this template -->
    <link href="{{ url_for('static', filename='cms/css/cms_login.css') }}" rel="stylesheet">
  </head>

  <body class="text-center">
    <form class="form-signin" method="post">
      {#  <input type="hidden" name="csrf_token" value="{{ csrf_token() }}">#}
        <input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
{#      <img class="mb-4" src="{{ url_for('static', filename='cms/images/cat.jpg') }}" alt="" width="72" height="72">#}
      <h1 class="h3 mb-3 font-weight-normal">Please sign in</h1>
      <label for="inputEmail" class="sr-only" >Email address</label>
      <input type="email" id="inputEmail" class="form-control" placeholder="Email address" required autofocus name="email">
      <label for="inputPassword" class="sr-only">Password</label>
      <input type="password" id="inputPassword" class="form-control" placeholder="Password" required name="password">
      <div class="checkbox mb-3">
        <label>
          <input type="checkbox" name="remember" value="1"> Remember me
        </label>
      </div>
      <button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
{#      <p class="mt-5 mb-3 text-muted">&copy; 2017-2018</p>#}
    </form>

    {% if message %}
        <p class="text-danger">{{ message.error }}</p>
    {% endif %}
  </body>
</html>
